/**
  ******************************************************************************
  * @author     Chris
  * @since      2024/6/10 12:38
  *
  * @file       hd_oled_protocol.c
  * @brief      OLED Communication Protocol hardware driver.
  *
  * @note       This file contains the OLED Communication Protocol hardware
  *             driver for the OLED.
  *
  * @warning    None.
  ******************************************************************************
  * Change Logs:
  *   Date           Author       Notes
  *   2024-06-10     Chris        the first version
  *
  ******************************************************************************
  */

#include "hd_oled_protocol.h"
#include <assert.h>

static void OLEDProtocol_init_(const OLEDProtocol* this) {
    assert(0);
}

static void OLED_write_(const OLEDProtocol* this,
                        uint8_t salveAddress, uint16_t regAddress, uint8_t* dat, uint8_t len) {
    assert(0);
}

void OLEDProtocol_constructor(OLEDProtocol* this) {
    static struct OLEDProtocolVtbl vtbl = {
        .init = &OLEDProtocol_init_,
        .write = &OLED_write_
    };

    this->vptr = &vtbl;
}
